package com.lab.idea.bl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lab.idea.mybatis.entity.LabEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 计算
 * </p>
 *
 * @author lab
 * @since 2023-11-06
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("bl_excel_compute")
@ApiModel(value = "ExcelCompute对象", description = "计算")
public class ExcelCompute extends LabEntity<ExcelCompute> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "computeId", type = IdType.ASSIGN_ID)
    private String computeId;

    @TableField("computeProp")
    private String computeProp;

    @TableField("computeName")
    private String computeName;

    @TableField("computeOrder")
    private Integer computeOrder;

    @TableField("computeQuery")
    private String computeQuery;

    @TableField("computeScript")
    private String computeScript;

    @TableField("excelId")
    private String excelId;

    @TableField("outId")
    private String outId;

    @TableField(value = "scriptMd5",exist = false)
    private String scriptMd5;

    @Override
    public Serializable pkVal() {
        return this.computeId;
    }
}
